package com.alliky.core.net

import java.io.IOException

/**
 * @Author: wxianing
 * @CreateDate: 2022/4/7 21:30
 * @Description: java类作用描述
 */
class ResponseThrowable : IOException {

    var code: Int
    override var message: String? = null

    constructor(code: Int) {
        this.code = code
    }

    constructor(code: Int, message: String?) {
        this.code = code
        this.message = message
    }

    constructor(cause: Throwable?, code: Int) : super(cause) {
        this.code = code
    }
}